import * as api from './util';

// 门店设置
export function addStore(postbody) {
  return api.post('/app/merchants', postbody)
}

// 门店详情
export function getStore(postbody) {
  return api.get('/app/merchants', postbody)
}

// 修改门店
export function editStore(id, data) {
  return api.put(`/app/merchants/${id}`, data)
}